#ifndef MESSAGE_H
#define MESSAGE_H

#include <memory>

class message
{
public:
    typedef std::shared_ptr<message> msg_handle;

public:
	message(int id_, const void* payload_, size_t payload_size_) {
		id = id_;
		payload = payload_;
		payload_size = payload_size_;
	}

public:
	int id;
	const void* payload;
	size_t payload_size;
};

#endif // MESSAGE_H

